#include<iostream>
using namespace std;
int main() {

	float m = 4, n = 3, num=2, t;
	double sum = 4.0 / 3;

	cout << m<<"/"<<n << "  ";
	for (1; num <= 18; num++)
	{
		t = m;
		m += n;
		n = t;
		cout << m << "/" << n << "  ";
		sum += m / n;

	}
	cout <<endl<< "sum=" << sum;




	return 0;
}

